package com.cdty.chess.service;

import com.cdty.chess.model.BetCountInfo;
import com.cdty.chess.model.ChessInfo;
import com.cdty.chess.model.OddsInfo;
import com.cdty.chess.vo.BetCountInfoVo;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;

public interface BetCifService {
    BetCountInfo queryBetCount(String uid, Boolean type);

    String upBetStart(BetCountInfo info);

    String upBetEnd(BetCountInfo info);

    List<ChessInfo> chessInfo();

    List<OddsInfo> oddsInfo(String type);

    int updateOdds(OddsInfo info);

    Map<String, Object> getbetStic(LocalDate time,Integer page,Integer size,String uid);

    String upScore(Integer score,String id);
}
